package net.xiaoyu233.mitemod.miteite.trans.entity;

import net.minecraft.EntityAgeable;
import net.minecraft.EntityAnimal;
import net.minecraft.EntityLiving;
import net.minecraft.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

@Mixin(EntityAnimal.class)
public abstract class EntityAnimalTrans extends EntityAgeable {
    public EntityAnimalTrans(World par1World) {
        super(par1World);
    }

    @Shadow
    public abstract void setAttackTarget(EntityLiving par1EntityLivingBase);

    public int getBreedExp() {
        return this.getRNG().nextInt(7) + 1;
    }
}
